<#assign tit>确认签名</#assign>
<@page.html title=tit>
<script type="text/javascript">
  function conf(op) {
    var url = "_confirm?id=${sign.autoId!}&op="+op
    getJson(url, function(data) {
      window.alert(data.msg);
      if(data.ret) cload();
    });
  }
</script>
<div style="width:400px;">
  <div class="kbox">
    <table class="input">
      <tr>
        <th>合同号</th>
        <td>${sign.contractCode!}</td>
      </tr>
      <tr>
        <th>合同类型</th>
        <td><@value type="signContractType" key="${sign.contractType!}"/></td>
      </tr>
      <tr>
        <th>会员姓名</th>
        <td>${sign.memberName!}</td>
      </tr>
      <tr>
        <th>会员照片</th>
        <td><#if sign.imageHead??><img src="${_appPath!}/svc/contractSign/viewHead?contractCode=${sign.contractCode!}&contractType=${sign.contractType!}&auth=${sign.authCode!}" style="max-width:200px;"/></#if></td>
      </tr>
      <tr>
        <th>会员签名</th>
        <td><#if sign.imageSign??><img src="${_appPath!}/svc/contractSign/viewSign?contractCode=${sign.contractCode!}&contractType=${sign.contractType!}&auth=${sign.authCode!}" style="max-width:200px;"/></#if></td>
      </tr>
    </table>
  </div>
  <div class="button"><input type="button" value="确认签名" onclick="conf(1);"> <input type="button" value="退回重签" onclick="conf(2);"></div>
</div>
</@page.html>